package itbour.onetouchshow.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class TransitionsBean {
    /**
     * dbId : 1036
     * ct : 1502
     * assetid : [1,2]
     * intersect : 1.48
     * duration : 2.0
     * layer : {"2":{"start":0,"duration":1.76},"3":{"start":0.28,"duration":1.72}}
     */

    private String name;
    private int dbId;
    private int ct;
    private double intersect;
    private double duration;
    private LayerBean layer;
    private List<Integer> assetid;

    private String icon;
    private int id;

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDbId() {
        return dbId;
    }

    public void setDbId(int dbId) {
        this.dbId = dbId;
    }

    public int getCt() {
        return ct;
    }

    public void setCt(int ct) {
        this.ct = ct;
    }

    public double getIntersect() {
        return intersect;
    }

    public void setIntersect(double intersect) {
        this.intersect = intersect;
    }

    public double getDuration() {
        return duration;
    }

    public void setDuration(double duration) {
        this.duration = duration;
    }

    public LayerBean getLayer() {
        return layer;
    }

    public void setLayer(LayerBean layer) {
        this.layer = layer;
    }

    public List<Integer> getAssetid() {
        return assetid;
    }

    public void setAssetid(List<Integer> assetid) {
        this.assetid = assetid;
    }


    public static class LayerBean implements Serializable {
        /**
         * 1 : {"start":0,"duration":1.76}
         * 2 : {"start":0.28,"duration":1.72}
         */

        @SerializedName("1")
        private _$1Bean _$1;
        @SerializedName("2")
        private _$2Bean _$2;
        @SerializedName("3")
        private _$3Bean _$3;

        public _$1Bean get_$1() {
            return _$1;
        }

        public void set_$1(_$1Bean _$1) {
            this._$1 = _$1;
        }

        public _$2Bean get_$2() {
            return _$2;
        }

        public void set_$2(_$2Bean _$2) {
            this._$2 = _$2;
        }

        public static class _$1Bean {
            /**
             * start : 0
             * duration : 1.76
             */

            private int start;
            private double duration;

            public int getStart() {
                return start;
            }

            public void setStart(int start) {
                this.start = start;
            }

            public double getDuration() {
                return duration;
            }

            public void setDuration(double duration) {
                this.duration = duration;
            }
        }

        public static class _$2Bean {
            /**
             * start : 0.28
             * duration : 1.72
             */

            private double start;
            private double duration;

            public double getStart() {
                return start;
            }

            public void setStart(double start) {
                this.start = start;
            }

            public double getDuration() {
                return duration;
            }

            public void setDuration(double duration) {
                this.duration = duration;
            }
        }

        public static class _$3Bean {
            /**
             * start : 0.28
             * duration : 1.72
             */

            private double start;
            private double duration;

            public double getStart() {
                return start;
            }

            public void setStart(double start) {
                this.start = start;
            }

            public double getDuration() {
                return duration;
            }

            public void setDuration(double duration) {
                this.duration = duration;
            }
        }
    }
}
